home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1012 b | 31 lines | [TEXT/GEOL] |
- Item 7028842 17-Sept-90 11:02PDT
-
- From: SCHMUCKER1 Schmucker, Kurt
-
- To: MORTENSEN.K Mortensen, Keith
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: Need to define list itms
-
- Keith,
-
- You can't define your list items in ViewEdit. ViewEdit only lets you
- specify the geometric arrangements between the various views in your window.
- Any custom behavior of these views must be coded by you. In the case of the
- list items in a TTextListView:
-
- The text strings in a TTextListView are supplied by the method
-
- PROCEDURE TTextListView.GetItemText(anItem: INTEGER; VAR aString: Str255);
-
- which MUST be overridden in your subclass of TTextListView. Basically, MacApp
- will call this method with anItem = i when it wants to draw the i-th item. You
- just give it back the text in aString, and MacApp does the rest.
-
-
- Note also, that you have to tell MacApp how long your list is.
-
- Kurt
-
-